package com.ys.service.flow;

import java.util.Map;

import com.ys.vo.R;

import lombok.AllArgsConstructor;
import lombok.Data;

public interface YspModelService {
	
	R add(Map<String, Object> params);
	
	R save(String body);
	
	R deploy(Long id);
	
	CheckModelDto checkModel(String info);
	@Data
	@AllArgsConstructor
	public class CheckModelDto{
		private boolean flag; // 结果标志，true正确，false错误
		private String msg; // 消息
	}
	
	R delete(Long id);

}